cody - HTMLify profile

cody
4270 Files
632080 Views
Latest files of /cody/vishal-dcode/SVG Eye Tracking Animation
const svg = document.querySelector("#svg");
const mouse = svg.createSVGPoint();
const leftEye = createEye("#left-eye");
const rightEye = createEye("#right-eye");
let requestID = null;
const mouse = svg.createSVGPoint();
const leftEye = createEye("#left-eye");
const rightEye = createEye("#right-eye");
let requestID = null;
@import "https://fonts.googleapis.com/css2?family=Big+Shoulders+Text:wght@400;500;600;700;800;900&family=Montserrat:wght@600;700;800;900&display=swap";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
position: relative;
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
position: relative;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>SVG Eye Tracking Animation</title>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>SVG Eye Tracking Animation</title>